﻿<%@ Page Title="" Language="C#" MasterPageFile="~/FrontEnd.master" AutoEventWireup="true" CodeFile="~/Code/create_new.aspx.cs" Inherits="create_new" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cp_Page_Heading" Runat="Server">
    Please Insert into the Fields Below - Mandatory fields are marked with an asterisk
<br />
Upon submission, this will be moved for review by our Administrators
<br />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cp_Major_Content" Runat="Server">
    <table style="width: 100%;">
        <tr>
            <td style="height: 23px; width: 91px">
                Description<font style="color: Red; font-size:small">*</font>:</td>
            <td style="height: 23px; width: 287px;">
                <asp:TextBox ID="desc_TB" runat="server" Height="78px" 
                    Width="280px" TextMode="MultiLine"></asp:TextBox>
            </td>
            <td style="height: 23px">
                <asp:RequiredFieldValidator ID="desc_val" runat="server" 
                    ControlToValidate="desc_TB" ErrorMessage="This field is required" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
        </tr>
        <tr>
            <td style="width: 91px; height: 23px;">
                Type<font style="color: Red; font-size:small">*</font>:</td>
            <td style="height: 23px; width: 287px">
                <asp:TextBox ID="type_TB" runat="server" Width="280px"></asp:TextBox>
            </td>
            <td style="height: 23px">
                <asp:RequiredFieldValidator ID="type_val" runat="server" 
                    ControlToValidate="type_TB" ErrorMessage="This field is required" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
        </tr>
        <tr>
            <td style="width: 91px; height: 23px;">
                Landmark:</td>
            <td style="height: 23px; width: 287px;">
                <asp:TextBox ID="lm_TB" runat="server" Width="280px"></asp:TextBox>
            </td>
            <td style="height: 23px">
                </td>
        </tr>
        <tr>
            <td style="width: 91px; height: 23px;">
                City<font style="color: Red; font-size: small">*</font>:</td>
            <td style="height: 23px; width: 287px;">
                <asp:TextBox ID="city_TB" runat="server" Width="280px"></asp:TextBox>
                </td>
            <td style="height: 23px">
                <asp:RequiredFieldValidator ID="city_val" runat="server" 
                    ControlToValidate="city_TB" ErrorMessage="This field is required" 
                    ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
        </tr>
        <tr>
            <td style="width: 91px; height: 26px;">
                State<font style="color: Red; font-size:small">*</font>:</td>
            <td style="width: 287px; height: 26px">
                <asp:DropDownList ID="state_DD" runat="server" DataSourceID="state_Dpdown_DS" 
                    DataTextField="State_Name" DataValueField="State_Name" Width="280px">
                </asp:DropDownList>
                <asp:AccessDataSource ID="state_Dpdown_DS" runat="server" 
                    DataFile="~/App_Data/Database.accdb" 
                    SelectCommand="SELECT [State_Name] FROM [State]"></asp:AccessDataSource>
            </td>
            <td style="height: 26px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 91px">
                &nbsp;</td>
            <td style="width: 287px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    <br />
    <asp:Button ID="submit_btn" runat="server" Text="Submit New Incident" 
        onclick="submit_btn_Click" />
</asp:Content>

